import {
  createRouter,
  createWebHashHistory
} from 'vue-router'

const routes = [
  {
    path: '/',
    component: () => import('../views/home/index.vue'),
    name: 'home',
    meta: {
      name: '首页'
    }
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
